<div class="bg-light lter b-b wrapper-md">
    <h1 class="m-n font-thin h3">询价发布管理</h1>
</div>
<div class="wrapper-md" id="people">
    <div class="panel panel-default">
            <div class="panel-heading font-bold">查询</div>
            <div class="form-horizontal panel-body">
                <label class="control-label pull-left col-md-1">询价起始时间</label>
                <div class="col-md-2 form-group date has-feedback">
                    <input id="StartTime" v-model="searchingStartTime" placeholder="询价起始时间" class="form-control" type="text" />
                    <span id="openStartTime" class="form-control-feedback curpoint">
                        <span class="glyphicon glyphicon-calendar"></span>
                    </span>
                </div>
                <label class="control-label pull-left col-md-1">询价结束时间</label>
                <div class="col-md-2 form-group date has-feedback">
                        <input id="EndTime" v-model="searchingEndTime" placeholder="询价结束时间" class="form-control" type="text" />
                        <span id="openEndTime" class="form-control-feedback curpoint">
                            <span class="glyphicon glyphicon-calendar"></span>
                        </span>
                </div>
                <label class="control-label pull-left col-md-1">发货地址</label>
                <div class="col-md-2 form-group">
                    <input type="text" class="form-control" id="fa-searchz" v-model="searchingStartAddress" placeholder="发货地址">
                </div>
                <label class="control-label pull-left col-md-1">送货地址</label>
                <div class="col-md-2 form-group">
                    <input type="text" class="form-control" id="fa-searchz" v-model="searchingEndAddress" placeholder="送货地址">
                </div>
                
                <div class="line line-xs pull-in"></div>
                <label class="control-label pull-left col-md-1">总询价编号</label>
                <div class="col-md-2 form-group">
                    <input type="text" class="form-control" id="fa-searchz" v-model="searchingInquiryId" placeholder="总询价编号">
                </div>
                <label class="control-label pull-left col-md-1">子询价编号</label>
                <div class="col-md-2 form-group">
                    <input type="text" class="form-control" id="fa-searchz" v-model="searchingInquiryChildId" placeholder="子询价编号">
                </div>
                <label class="control-label pull-left  col-md-1">询价状态</label>
                <div class="col-md-2 form-group">
                    <select v-model="searchingState" class="form-control input-sm">
                        <option value="" selected>全部</option>
                        <option v-for="option in StateDropDown" v-bind:value="option.value">
                            {{ option.text }}
                        </option>
                    </select>
                </div>
                <label class="control-label pull-left  col-md-1"></label>
                <div class="col-md-2 form-group">
                    <button @click="queryUsers()" class="btn btn-sm btn-default btn-addon">
                        <i class="glyphicon glyphicon-search" v-show="!seeks"></i>
                        <i v-show="seeks">
                            <b class="fa fa-spinner no-bordr"  v-bind:class="{'fa-spin':seeks}"></b>
                        </i>
                        <span v-show="!seeks">查询</span>
                        <span v-show="seeks">查询中...</span>
                    </button>
                </div>
            </div>
            
            
    </div>
    <div class="panel panel-default">
        <div class="panel-heading">
            询价单发布管理列表
        </div>
        <div class="line line-xs pull-in"></div>
        <div class="table-responsive" >
            <table id="table" class="table table-hover" data-events="actionEvents"></table>
            <!--<v-client-table :data="tableData" :columns="columns" :options="options" style="min-height:395px;overflow:hidden; min-width:1000px;"></v-client-table>-->
            <!--<div class="watermark" ng-if="!userList.data.length">暂无数据<i class="fa fa-spinner no-bordr" ng-show="seeks" ng-class="{'fa-spin':seeks}"></i></div>-->
        </div>
        <div  class="panel-body">
            <pagination v-ref:table for="table" :per-page="PerPage" :records="Records" ></pagination>
            <!--<p v-if="!Records">No records</p>
            <p v-else="records"> 共{{Records}} 行 </p>             -->
            <p v-if="!showRecords">No records</p>
            <p v-else="showRecords">共{{Records}}行</p>
            <div class="form-group">
				<!--<a  data-toggle="modal" data-target="#myModal" class="pull-right-xs btn btn-sm btn-primary btn-addon"><i class="glyphicon glyphicon-list-alt"></i>模板管理</a>-->
				<!--href='#!/inquiry/inquiryAdd'-->
                <a @click="LinckToInquiryAdd()" class="pull-right-xs btn btn-sm btn-primary btn-addon"><i class="glyphicon glyphicon-list-alt"></i>询价单新增</a>
				<a id="btnLinToOrderAdd" @click="LinckToOrderAdd()" class="pull-right-xs btn btn-sm btn-primary btn-addon" disabled><i class="glyphicon glyphicon-plus"></i>订单新增</a>
			</div>
        </div>
    </div>
    
    <!-- 模态框（Modal） -->
    <!--<div class="modal fade" id="myModal" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true">
        <div class="modal-dialog">
            <div class="modal-content">
                <div class="modal-header">
                    <button type="button" class="close" data-dismiss="modal" aria-hidden="true">&times;</button>
                    <h4 class="modal-title" id="myModalLabel">模态框（Modal）标题</h4>
                </div>
                <form class="form-horizontal form-validation" name="UserForm" novalidate>
					<div class="modal-body">
						<div class="form-group">
							<label class="col-md-2 control-label">标题<span class="text-danger">*</span></label>
							<div class="col-lg-4">
								<input ng-model="messageTitle"  name="messageTitle" type="text" class="form-control" 
									required>
							</div>
						</div>
					</div>
					<div class="modal-footer">
						<button type="button" class="btn btn-default" data-dismiss="modal">取消</button>
						<button @click="sendInfo(sendMessageWay)"  type="button" class="btn btn-primary" ng-disabled='UserForm.$invalid'>确认发送</button>
					</div>
				</form>-->
                <!--<div class="modal-footer">
                    <button type="button" class="btn btn-default" data-dismiss="modal">关闭</button>
                    <button type="button" class="btn btn-primary">提交更改</button>
                </div>-->
            <!--</div>-->
        <!--</div>-->
    <!--</div>-->
</div>



 